package com.warmlight.voicepacket.data;

import java.util.List;

/**
 * Created by jason on 2018/5/29.
 */

public class PlayListData {

    /**
     * code : 200
     * msg : Suc.
     * data : {"category":[{"id":"0","name":"全部"},{"id":"1","name":"影视"},{"id":"3","name":"主播"},{"id":"2","name":"音乐"},{"id":"4","name":"明星"}],"list":[{"id":"4","category_id":"2","name":"容嬷嬷","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"},{"id":"3","category_id":"1","name":"PDD","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"},{"id":"2","category_id":"1","name":"还珠格格","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"},{"id":"1","category_id":"1","name":"李云龙","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"}],"share":{"title":"i am title","desc":"i am desc","pic_url":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1527595012355&di=ac7d2bec0693337b1461ca5c7fd264a5&imgtype=0&src=http%3A%2F%2Fd.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2F63d0f703918fa0ec53d199aa2a9759ee3d6ddb07.jpg","h5_url":"https://m.baidu.com/"}}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * category : [{"id":"0","name":"全部"},{"id":"1","name":"影视"},{"id":"3","name":"主播"},{"id":"2","name":"音乐"},{"id":"4","name":"明星"}]
         * list : [{"id":"4","category_id":"2","name":"容嬷嬷","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"},{"id":"3","category_id":"1","name":"PDD","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"},{"id":"2","category_id":"1","name":"还珠格格","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"},{"id":"1","category_id":"1","name":"李云龙","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"}]
         * share : {"title":"i am title","desc":"i am desc","pic_url":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1527595012355&di=ac7d2bec0693337b1461ca5c7fd264a5&imgtype=0&src=http%3A%2F%2Fd.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2F63d0f703918fa0ec53d199aa2a9759ee3d6ddb07.jpg","h5_url":"https://m.baidu.com/"}
         */

        private ShareBean share;
        private List<CategoryBean> category;
        private List<ListBean> list;

        public ShareBean getShare() {
            return share;
        }

        public void setShare(ShareBean share) {
            this.share = share;
        }

        public List<CategoryBean> getCategory() {
            return category;
        }

        public void setCategory(List<CategoryBean> category) {
            this.category = category;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ShareBean {
            /**
             * title : i am title
             * desc : i am desc
             * pic_url : https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1527595012355&di=ac7d2bec0693337b1461ca5c7fd264a5&imgtype=0&src=http%3A%2F%2Fd.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2F63d0f703918fa0ec53d199aa2a9759ee3d6ddb07.jpg
             * h5_url : https://m.baidu.com/
             */

            private String title;
            private String desc;
            private String pic_url;
            private String h5_url;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getPic_url() {
                return pic_url;
            }

            public void setPic_url(String pic_url) {
                this.pic_url = pic_url;
            }

            public String getH5_url() {
                return h5_url;
            }

            public void setH5_url(String h5_url) {
                this.h5_url = h5_url;
            }
        }

        public static class CategoryBean {
            /**
             * id : 0
             * name : 全部
             */

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class ListBean {
            /**
             * id : 4
             * category_id : 2
             * name : 容嬷嬷
             * pic : http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg
             */

            private String id;
            private String category_id;
            private String name;
            private String pic;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCategory_id() {
                return category_id;
            }

            public void setCategory_id(String category_id) {
                this.category_id = category_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }
        }
    }
}
